home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Tools - Objects / MacApp / MacApp 2.0 CD Release / MacApp 2.0 (Many Libraries) / Interfaces / CIncludes / UInspector.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-27  |  1.5 KB  |  42 lines  |  [TEXT/MPS ]

  1. /*[a-,body+,h-,o=100,r+,rec+,t=4,u+,#+,j=20/57/1$,n-]*/
  2. /*UInspector.p*/
  3. /*Copyright © 1987-1990 by Apple Computer, Inc.  All rights reserved.*/
  4.  
  5. /*
  6. This unit implements two things: a set of lists of all objects in each class. and
  7. the inspector window (with its associated views.) The global routines below
  8. together make up the public interface to the inspector. The classes used are
  9. private to the unit and are declared in UInspector.inc1.p. Refer to that source
  10. code for more information on the implementation of this unit.
  11. */
  12. #ifndef  __UInspector__
  13. #define __UInspector__  0
  14. #endif
  15. #if  ! __UInspector__
  16. #define __UInspector__  1
  17.  
  18.         /* • Required for this unit's interface. Auto-Include them */
  19. #ifndef  __UObject__
  20. #include "UObject.h"
  21. #endif
  22.  
  23. extern pascal void InitUInspector(void);
  24.         /* Called during MacApp initialization.  Initializes this unit.*/
  25.  
  26. extern pascal void AddObjectToInspector(TObject *theObject);
  27.         /* Called when a new object is created by New or cloning. Adds theObject to the list of
  28.         objects for its class. */
  29.  
  30. extern pascal void RemoveObjectFromInspector(TObject *theObject);
  31.        /* Called when an object is freed. Removes theObject from the list of objects for its cl
  32.           ass. */
  33.  
  34. extern pascal void MakeInspector(void);
  35.         /* Called during MacApp initialization to make the Inspector document. Must be called after
  36.         creating gApplication.*/
  37.  
  38. extern pascal void MakeInspectorWindow(void);
  39.         /* Called to make a new Inspector window.*/
  40. #endif
  41.  
  42.